from ast import Try
from time import sleep
from tools import *
import sys


tool = Tools(
    # sys.argv[1]
    # "https://jx.bozrc.com:4433/player/analysis.php?v=https://v.qq.com/x/cover/mzc00200m8u46sg/i0044b26a40.html"
    "https://www.1717yun.com/jx/ty.php?url=https://v.qq.com/x/cover/mzc00200m8u46sg/s0043ywoko1.html"

)
code = 60
while (code != 0):
    try:
        rs = tool.script('./data/Truncating.js')
        print(rs)
        # break
        sleep(1)
    except:
        code = code -1;
        print(code)
        sleep(1)
# tool.down()
